using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.IO;
using System.Text;

using ExchangeHog.Pop3Client.Responses;

namespace ExchangeHog.Pop3Client.Commands
{
	internal sealed class QuitCommand : Pop3Command<Pop3Response>
	{
		public QuitCommand(Stream stream) : base(stream, false, Pop3State.Transaction | Pop3State.Authorization) { }

		protected override byte[] CreateRequestMessage() { return GetRequestMessage(Pop3Commands.Quit); }
	}
}
